<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath}/static"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <title>商品交易记录</title>
</head>
<script type="text/javascript" src="${path}/js/other/jquery-1.7.min.js"></script>
<script type="text/javascript">
var pageSize = 15;
function load(ip, date) { // 查询第n页
	$.ajax({  
        "url":"modip.do?ip="+ip+"&date="+date,  
        "datatype":"json",  
        "type":"post",  
        "async":"true"  
    }).success( function(map){
    	
    	var od = $("#ip");
		od.empty();
		var o = $("<a>订单交易记录</a>");
		
	}).error();
}
function ajax()
{
	
	load($("#ip").val(), $("#date").val());
	}
$(document).ready(function(){
	   

	
});
</script>
<body >
                        <div><center><h1>商品交易记录 </h1></center></div>
                 <center>  
                  <div id="ip"></div>    
                    <div >

                        <table >
                        <tr>
                           <td >IP地址</td>
                           <td><input type="text" id="ip"/></td>
                             </tr>
                             <tr>
                           <td >数据库名</td>
                           <td><input type="text" id="date"/></td>
                             </tr>
                        </table>
<input type="button" value="确认" id="jumpBtn" onclick="ajax();"/></div>

</center>

</body>

</html>